package cn.oms.drugknowledge.provider.dao.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import java.time.LocalDate;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author AllenChen曾晨
 * @since 2022-04-16
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("category")
@ApiModel(value="Category对象", description="")
public class Category implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "分类ID（新增生成）（UUID）")
    @TableField("CATEGORY_ID")
    private String categoryId;

    @ApiModelProperty(value = "父类分类CODE")
    @TableField("CATEGORY_PARENT_CODE")
    private String categoryParentCode;

    @ApiModelProperty(value = "分类CODE")
    @TableField("CATEGORY_CODE")
    private String categoryCode;

    @ApiModelProperty(value = "分类名称（英文）")
    @TableField("CATEGORY_NAME_EN")
    private String categoryNameEn;

    @ApiModelProperty(value = "分类名称（中文）")
    @TableField("CATEGORY_NAME_CN")
    private String categoryNameCn;

    @ApiModelProperty(value = "备注")
    @TableField("CATEGORY_REMARK")
    private String categoryRemark;

    @ApiModelProperty(value = "创建时间")
    @TableField("CREATE_TIME")
    private LocalDate createTime;

    @ApiModelProperty(value = "删除标记")
    @TableField("DEL_FLAG")
    private Integer delFlag;


}
